$OpenBSD: patch-x11vnc_ssltools_h,v 1.3 2014/09/09 11:10:50 naddy Exp $

- fix path to su(1)

--- x11vnc/ssltools.h.orig	Wed Aug 10 23:31:32 2011
+++ x11vnc/ssltools.h	Wed Sep 14 16:03:27 2011
@@ -1909,7 +1909,7 @@ char create_display[] = 
 "		rm -f $ctmp1 $ctmp2\n"
 "		XAUTHORITY=$authfile\n"
 "		export XAUTHORITY\n"
-"		sess=\"/bin/su - $USER -c $sess\"\n"
+"		sess=\"/usr/bin/su -l $USER -c $sess\"\n"
 "	else\n"
 "		$have_xauth -f $authfile nextract -           :$N | $have_xauth nmerge -\n"
 "		$have_xauth -f $authfile nextract - `hostname`:$N | $have_xauth nmerge -\n"
